<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>
<link rel="stylesheet" type="text/css" href="/resources/css/style.css">

<div class="easyui-layout" fit="true">
    <div region="center" border="false" style="overflow-x:hidden">
        <div class="pd10">
            <div class="tableform">
            	<form id="menuForm" method="post">
            		<input type="hidden" name="menuId" value="${menu.menuId}"/>
            		<table cellpadding="0" cellspacing="0">
	                	<tr>
	                    	<th width="80px">菜单路径：</th>
	                        <td>
	                        	<input name="path" id="path" style="width: 280px; height: 25px;" value="${menu.path}" disabled="disabled"/>
	                        </td>
	                    </tr>
	                	<tr>
	                    	<th width="80px"><font color="red">*</font>菜单名称：</th>
	                        <td>
	                        	<input name="menuName" id="menuName" style="width: 280px; height: 25px;" value="${menu.menuName}" disabled="disabled"/>
	                        </td>
	                    </tr>
	                    <tr>
	                    	<th width="80px"><font color="red">*</font>上级菜单：</th>
							<td>
								<input type="hidden" id="parentMenuId" value="${menu.parentId}"/>
								<input name="parentId" id="parentId" style="width: 280px; height: 25px;"/>
						   </td>
	                    </tr>
	                    <tr>
	                    	<th width="80px"><font color="red">*</font>所属公司：</th>
	                        <td>
	                        	<input type="hidden" name="companyId" id="companyId" value="${menu.companyId}"/>
	                        	<input name="company" id="company" style="width: 280px; height: 25px;"/>
	                       	</td>
	                    </tr>
	                    <tr>
	                    	<th width="80px"><font color="red">*</font>状&#12288;&#12288;态：</th>
	                        <td>
	                        	<select id="status" name="status" style="width: 280px; height: 25px;">
									<option value="" <c:if test="${menu.status != '0' && menu.status != '1'}">selected="selected"</c:if>>请选择...</option>
									<option value="1" <c:if test="${menu.status == '1'}">selected="selected"</c:if>>启用</option>
									<option value="0" <c:if test="${menu.status == '0'}">selected="selected"</c:if>>禁用</option>
	                        	</select>
	                       	</td>
	                    </tr>
	                    <tr>
	                    	<th width="80px">显示顺序：</th>
	                        <td>
	                        	<input name="displayOrder" id="displayOrder" min="0" max="10000" style="height: 25px;" value="${menu.displayOrder}"/>
	                       	</td>
	                    </tr>
	                </table>
                </form>
            </div>
        </div>
    </div>
    <!--start：button区域-->
    <div region="south" style="height:36px;overflow:hidden;" border="false">
        <div class="WinBtnBody pdt5">
            <table align="center"border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <a href="javascript:void(0)" onclick="Ict.closeWin();" class="easyui-linkbutton" plain="true" iconCls="remove">关闭</a>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <!--end：button区域-->
</div>

<!-- ==================页面操作JS================ -->
<script type="text/javascript" src="/resources/js/pc/menu/detail.js"></script>
<script type="text/javascript">
	$("#displayOrder").numberspinner({
		width    : 280,
		editable : false,
		disabled : true
	});
</script>